package com.qf.automation.user.client;

import com.qf.base.sms.dto.SendSMSDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "sms-service")
public interface SMSClient {

    @PostMapping("/sms/send")
    String postSMS(@RequestBody SendSMSDTO sendSMSDTO);

    @PostMapping("/sms/check")
    String checkSMS(@RequestBody SendSMSDTO sendSMSDTO);
}
